Fix bug of failure of file which smaller than 5M bytes.