Don't strip whitespace & Don't use tmp module

Fixes #14
Fixes #15

Whitespace trim should be left to the user.

This pull request also fixes a bug with the tmp module in that if you leave it running for a while, you eventually have too many file descriptors open and the program crashes. To fix it, I implemented a custom tmp file solution.