Uses kref in the FS, fixes up refcount bugs