Implemented rough version of av_file_seek()