check if file is on local filesystem
fixes #30
fixes #27
Merge pull request #36 from denofevil/fix-non-absolute-path

check if file is on local filesystem