Created attachment 13062 [details]
This reduction reports an exception on line 1, instead of 9. Change it to a .html extension and you get line 9.
I am having trouble reproducing this. In ToT and shipping I am sometimes getting the error on line 857 (which is admittedly not line 9) and not always line 1.
Works for me with r38816.