Oops. Fixed a bug that prevented file upload