we aren't sure about the number of bytes written (especially on windows)