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