Fixed issues with av_file_stat (issue #4)