Fix error when page or per_page query option in /file/search URI are not...

... presents. See #28 on Github