fs.WriteStream wrapper for NodeJS, calls fsync periodically on underlaying fs.WriteStream