Fix bug in CLI with exit code when provided with invalid file path

node at version ^0.10.0 exits with an exit code of `8`, instead of
`1`. node@^0.11.0 works as expected.
Remove multiple new lines after the stringified AST
Remove multiple new lines from CLI by using stdout instead of console