Fixes #912 (send_file may return 500 instead of 404 for non-existent files)

The huge diff in `Dancer.pm` is only the additional level of indentation.