Add logic for 404 to have ugly url to build to file instead of directory

Updated RenderHomePage method with code for building 404 to a .html file instead of a directory.