Fix MySQL restore process - replace file pipe with writing file directly to the process output.

Merge stdout and stderr for debugging purposes.
Added compression.