Fix file endings, so compiled html, css and js files are referred correctly.