Improve error reporting on couch backend design documents access failure (#4994).
Fix typo on tempfile.gettempdir() call.
Merge remote-tracking branch 'refs/remotes/drebs/feature/4994_improve-error-messages-on-client' into develop