fixed a bug handling files larger than 2GB