fix for adding directories in other-mapped-files