Don't choke on colons in directory names (fixes #39)