Fixed mysqldump handling in ditto

Summary: Now it streams mysqldump into mysql properly, rather than storing the entire mysqldump output in a string and passing that to mysql client. Also it provides an argument to specify an existing mysqldump file rather.

Test Plan: ad-hoc, ran tests in testing directory

Reviewers: ankur, nikita, adam, pieguy, carl

CC: engineering