Add xattr checks for OSX style API (#500506) 2007-12-03 Alexander Larsson