Fixed issue with server error.

refs #4982

Created a helper that only sends a file if it exists and, if it doesn't,
returns a 404 page. Used it to fix an issue.