new function downloadFile.php

This is needed for exporting columns and static groups from the DB to
the admin.  Might also be useful for exporting templates to the two
commanders.