Improve logic for ActionDispatch::PublicExceptions#render_html.

Avoid running File.exist? twice once a localized html file has been
found.