Fixed whitespace in WriteStream