CORDOVASIM: Fixing `Camera API` for correct collaboration with UploadFileServlet and HostFileServlet