ERF: Use actual file size for setting the size (avoids crash on truncated files)
ERF: Use actual file size for setting the size (avoids crash on truncated files)

darktable-org/rawspeed,darktable-org/rawspeed,darktable-org/rawspeed,darktable-org/rawspeed,mgehre/rawspeed,mgehre/rawspeed,LebedevRI/rawspeed,LebedevRI/rawspeed,LebedevRI/rawspeed,anarsoul/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,klauspost/rawspeed,klauspost/rawspeed,anarsoul/rawspeed,LebedevRI/rawspeed,anarsoul/rawspeed