Fixing recursive path reading under windows