pu.utils: Make buffer_str() handle empty strings.