Update of file when not setting "size" leads to an unknown server error
The following reproducibly leads to an unknown server error:
The entity with id=174 is a File. rt can be an arbitrary RecordType.
f = db.File(id=174).retrieve()
f._size = None
f.add_parent(rt)
f.update()
The error does not occur when setting _checksum to None.