deletes a file created by FS.createDataFile after the image data is decoded