Synchronously checks if typeSync(path) returns FileSystemEntityType.FILE.
static bool isFileSync(String path) => (_getTypeSync(path, true) == FileSystemEntityType.FILE._type);