[Bug 2578] file write performance over NFS very poor due to dup+write+close