xattr: Fix issue with empty (0 bytes) xattr values.

Closes #106