Merge pull request #1794 from vlakoff/develop-2

directory_map() was skipping files and directories named "0"