fixed the number of NUL's written to the output file