Adding support for Linux & Mac.

File line endings aren't consistent right now. This commit does not rectify
that.
Fixing hang when typings aren't found.

If res.on('data') isn't called, node.js blocks and the process doesn't exit. We
need to call it even when a typings definition does not exist.

Also fixed truncation of typing definitions when it's big.
Merge pull request #1 from oliverzheng/master

Adding a few fixes.