add filename sanitisation functions to zsh