Added import/export functionality to pre_data.

You asked for it, you got it. Dump yo database into a file.