small typo in exists

was checking for typeof path, but the value is never initialized.
Instead, check for arguments[0]
Merge pull request #16 from ebensing/exist-fix

small typo in exists