Use pathio package to write dump to arbitrary paths

This copies the bson file from the dump location to the location
specified by the caller
Ah yeah, I didn't think about that. I guess if someone really want to make it work on Windows they can tweak this.