Merge pull request #14 from tornewuff/trailing_newlines

Preserve the exact file size given by the client.
Merge pull request #15 from tornewuff/temp_dir

Create a secure temporary directory for each file.
Merge pull request #16 from tornewuff/unload_handler

Use unload_handler to stop the server.