git-p4: fix filetype detection on files opened exclusively