Make sure open throws an Exception when File#listFiles returns null. Fixes #34.