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 #1444 from kaltura/IX-9.19.0-SUP-2391

if resumeAt smaller than file size , check actual size