Fixing problem when truncating files.