Updated mkdirp version
Add support for writing to response rather than file
Merge pull request #2 from phillipj/feature/write-to-response

Write to response