get plfs_getxattr to return the proper value

This is to resolve the problem reported in Issue #331. David B. and I put together the fix together. No memory is being leaked with this solution.