Check if a file is ignored by a .zgitignore file (which is compatible with a .gitignore file)