Fix incorrect type for total_pieces property in File struct. Should be int and not string.