Uses the /proc/self/fd trick, which does not work on Darwin.
Test for the upcoming fd-based xattr support.