Larry <larry.cebuala at gmail.com> writes: > I even went further to opening the file using notepad, and did a > search-and-replace for space characters. The result was what I > desired: data,data,data... In Windows, you also have to make sure to open binary files in binary mode.