minor fix:Avoid a dangerous zero.

Surprising some pached games have empty files in INSDIR,may cause crashing.