Fix the extra space error in file.puts.