pretty: use prefixcmp instead of memcmp on NUL-terminated strings