Fixed a DREADFUL bug in models/reapplication.py, causing created date retrieval to crash the app.

As a bonus, now the metadata upload now is written consistently with the reapplication upload.