Rendering to file improvements:

* Prevent rendering other unwanted blocks from layout.
* Fix rendering when in adminhtml.
* Make target path configurable.
* Add microseconds to filename to prevent collisions.