saniize labels for use in the command line.