Removing newline at EOF.