Removed unused versions md5 code

It looks like md5 was used previously to identify the most recent file
in the versions list, which seem to be old code, as now the versions
list doesn't contain the current file any more.

This fix removes the md5 code which caused performance issues with big
files.

Fixes #7208 

Note: this is OC 5 only as this part has been removed already in OC 6 as part of other fixes.

Please review @karlitschek @schiesbn @DeepDiver1975