fs/libfs.c: fix simple_attr_write() on 32bit machines