fail: make createWriteStream test asynchronous