created python script for dumping the database into an SQL file