fix line break on darwin

Sorry I'm not sure what actually `line feed` on darwin is. Some people say it's CR(namely \r) which is LF(\n) when I try it myself. This pull request :(