Fix newline error in cd error print