Fixes for Python 3
Add support for uploading files via the admin