fixed POSIX ThroughTmpFileWriter