Optimize ChompBytes() function
No need to allocate an intermediate string. Trim suffix first, then turn the result into a string. This function is used in quite a few places, so a quick optimization wouldn't hurt.
No need to allocate an intermediate string. Trim suffix first, then turn the result into a string. This function is used in quite a few places, so a quick optimization wouldn't hurt.