Fix regexizePath so it escape '.' character