Fixes a bug in f_write() with FLUSH_ON_NEW_CLUSTER and FLUSH_ON_NEW_SECTOR macros.

Fork of FATFileSystem by mbed official

shortlog@46ce1e16c870: not found in manifest