Ported xattr to cffi

This now runs on PyPy. There's also way less code.