BibDocFile: retry mkstemp in case of failure
BibDocFile: retry mkstemp in case of failure

* Possibly due to AFS glitches the mkstemp would fail. We sleep then retry
  to create the temporary file again.

tiborsimko/invenio,tiborsimko/invenio,inveniosoftware/invenio,inveniosoftware/invenio