Fix bug with sub-html file during prod deployment

During prod deployment, .html file in subfolder such as views/something/myfile.html was ignored.