dir() now returns Str, as specced