bibdocfile: fix stream_restricted_icon() exception
bibdocfile: fix stream_restricted_icon() exception

* Fixed exception raised by stream_restricted_icon() when
  XSendFile is enabled.

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