Fixes #1153.  Dir[] should accept zero arguments