Utils to use CouchDB as development server for static files
Preserve newlines with curl
http://jsfiddle.net/KNM4q/113/