Python based getfattr/setfattr implementation