IS_FILE Determine if path is a file

for Matlab < R2017b that doesn't have isfile(), note that exist() also looks on the Matlab path.