Implement `createWriteStream`