Yes - I misunderstood, it's the setCompressedFileSize that needs to depend on version.