Write RST Preview to an HTML file instead of running a server

I was having problems with the plugin crashing when I tried to re-preview a few too many times - writing to a tempfile and loading that in the browser seems not to have this problem.