Alter platform detection in File.nl_convert

Create `nl_for_platform` for platform test
Move `osx` to `\n`
Add `darwin`, `solaris` to `\n`
Add `local` automatically pick up local platform