Fix samefile usage
Merge pull request #86 from abadger/samefile-fix

Fix samefile usage