Fixed printing newlines in Unix