Fix dumpdb

Since the dumpdb command was broken, I decided to hook right into it
instead, where it actually hade a file parameter.

It's tested locally, and it actually outputted a zipfile this time! \o/

closes #215