Code cleanup
Add repository field to package.json
Push streamed chunks to array and wait with pushing until flush
Make sure atomicRename is called after *all* tempfiles are written
Misc. stream improvements + code cleanups
Add some tests
1.0.1