Restoring #to_tempfile

Other modules were dependent on the existence of this method.
At a future point, this method should be removed in favor of a more
generalized Conversion method Tempfile(object)
Merge pull request #12 from projecthydra/restoring-to-tempfile

Restoring #to_tempfile

This was blocking downstream development, so I'm merging.