Update pipe_commands_to_file
Update other backup commands to use pipe_commands_to_file