#54305File type does not get updated when mime type changes
Description
After setContents() was called on a file object the mime type might change.
This can also mean, that the type field in the sys_file record needs an update. Currently only the meta-data changes but not the type.