Fix transaction handling in file service OPS-1735
Fix transaction handling in file service OPS-1735

* use transaction helper
* properly close session
* use correct readPreference

schul-cloud/schulcloud-server,schul-cloud/schulcloud-server,schul-cloud/schulcloud-server