Make _fn and _open_dump_path private

`_fn` and `_open_dump_path` seem to be used privately.
So these methods can be private class methods.