Fix `util.isFileP()` and mark it as deprecated
Merge branch 'isFileP'