Make isValidPath less restrictive

Accept ':' in files names.