Fix a notice in 404 if no file requested have no extension
Bugfix: remove a notice in 404 if the requested file have no extension