#244: Resolve sending 'file upload' from ajax to PHP

Resolves #244.