Automatically saves to file for ddrescue.

Tried to fix debug output for ddrescue.