MacOSX cmd line to sanitizes file/directory names