Fixed serialization and added rename tests

Modified InodeFolder serialization/deserialization so that it doesn't
need the mInodes dictionary to deserialize.