Fixed issue with typescript line endings
Fixed issue with typescript line endings

New version of typescript-formatter is inputting ^M line endings.
Utilize replace instead of stdin to fix the problem.

See https://github.com/sbdchd/neoformat/issues/37#issuecomment-298425603

sbdchd/neoformat,sbdchd/neoformat,sbdchd/neoformat,sbdchd/neoformat