Fix sample html download

Clicking "HTML file" link loads a 404 page instead of forced download. Trying this snippet from http://24ways.org/2013/url-rewriting-for-the-fearful/