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

Fork of FATFileSystem by mbed official