Fixed file creation for fatfs