Repository: updateBytes should also update metadata

- Ensure removeFile deletes the records
- MetadataInStorage: failed to generate JSON for Hibernate proxy (repositoryFile.repositoryFolder)
1 job for genesys-532-divtree-json-file in 1 minute and 59 seconds
Status Job ID Name Coverage
  Compile
passed #43811
run tests in branches

00:01:59