Seems like this happens when selecting a file with an unusual, but valid extension, like .JPG
instead of .jpg
or .jpeg
.
This is fixed by first checking if the file exists after it has been returned from Utils, if it's available it gets returned otherwise it will be copied to the temp folder.