make sure the remote export path exists before pg_dump