You can't use commas here. (i.e., write takes chunk, [encoding], [callback], so `err` is interpreted as the encoding (which barfs)).