if resumeAt smaller than file size , check actual size

SUP-2531 #time 5h
use existing file descriptors for validations
open source file in case no error
Merge pull request #1445 from kaltura/IX-9.20.0-SUP-2391

if resumeAt smaller than file size , check actual size