Hack to allow cshtml/vbhtml files to be served via vfs

This is an ugly hack, but it's the best I could come up with to fool System.WebPages.

Fixes #1048