check strlen return, fixed played_cnt and file_size shifts