Cleaner detection of bindings with better error handling.

Makes it a clearer when the bindings are found but broken.
Merge pull request #281 from djanowski/cleaner-binding-detection

Cleaner detection of bindings with better error handling.
Merge pull request #285 from aexmachina/master

Added renderFile function
Added missing require('fs')