Dump

* The suffix check isn't doing the right thing in _dump. (Thanks to April Chin @ Oracle for finding that)
* Make an actual suffix for the tempfile when passing in a format, in case whatever is reading it downstream is sensitive to extensions.