Fixed a little bug, now server responds 404 instead 500 when 
you try to download an inexistent resource.