Ruby script for dumping mysql db