Use stdin for restore and stdout for dump