Fix Directory.contains method error on Windows

Fixes #20

Hope it's fine, I never coded a single line of coffeescript before.