Fix initial loading of existing files

For the initial ajax call to get the existing files the js object from
the formData argument wasn't escaped properly to support string data
Merge pull request #6 from mclaus/master

Fix initial loading of existing files