Corrected access to request.POST during AJAX file uploads.

See issue #161.