Correct type for refreshAttributes and getPath fix

- Fix `FileVersion::refreshAttribute()`
- Fix `FileVersion::getPath()`
- Modify `FileVersion::getURL()`