Resource Manager writes invalid version for reading

Bug: Resource Manager always writes the first version, but reads a file with the last version (method version.checkCurrent()).