Use the not_found handler instead of error 404

See more on issue: https://github.com/sinatra/sinatra/issues/541