Abstract out `FileVersion::refreshAttributes()`

Abstract out `FileVersion::refreshAttributes()`

- Other fixes