EnumSet.of instead of EnumSet.range

Logic of:
matchesFilePermissions (String filename, EnumSet <PosixFilePermission>
pSet)
moved in:
checkPrivateKeyPermissions

Renaming, cosmetic changes