Fixed warnings.
Merge branch 'master' of github.com:residuum/PuRestJson

Writing binary files correctly