gjtorikian/isBinaryFile — pull request #19 by KylePDavis (2014-11-19 16:18:10+00:00)
Title: fix error on dirs and non-files via stat check

Mainly just switches from `fs.stat().isFile()` instead of `fs.exists`.
Added a sync test and an async test.