There is no guarantee the attribute size does not change between two
getxattr calls (and the man page explicitly mentions this case).
In case the attribute grows only a truncated value is returned, when it
shrinks, garbage is returned. In both cases Unicode decoding errors can
happen.