php class to do mysqldump - supporting *nix and ms windows