fix #95 ... IllegalArgumentException on Windows directories