BZ 892036: Use proper tmpdirs for dump and restore.