Fixes filesystem corruption reports after writing on Linux and running chkdsk afterwards on Windows. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>