Get file object's UTI and isLocal info more reliably