Fix lsmcat to handle unicode