#244: Send 'file upload' from ajax to PHP

Partial #244.