Improve error reporting on couch backend design documents access failure (#4994).
Fix typo on tempfile.gettempdir() call.