Add mysql support in `dump.php`

https://github.com/welaika/wordmove/pull/62 didn't change dump.php (FTP's way of dumping sql) - this fixes it.