Fix FreeBSD method names
Merge pull request #239 from rreas/freebsd-file-name-changes

Fix FreeBSD method names for file checks