add zero byte end-of-string to readlink and getxattr results automatically