A dumb CouchDB mock that listens for a PUT and writes the doc to file