Merge pull request #41 from wpreul/master

Errors are handled more gracefully with file writing + file ext support
Merge pull request #42 from wpreul/master

Fixing memory issue when logs get backed up
Replacing request with hapi client