Fixes #1153.  Dir[] should accept zero arguments
Merge it forward son