Mac Overlays: handle filenames with slashes properly.

There are filenames with slashes on MacOSX, they can be created
in Finder. Internally they are converted to colons.