[PATCH 1/6] test: update dump-restore to use redirection instead of filename args