FIX fileexists check 

The ajax fileexists check didn't know what folder the file was being uploaded to. Fixes #950