Fix detection of non-callback properties of `fs`.

Fixes #2