Use AppendFIleStream for M500 to avoid fatlib/sdcard write bug