Fix calculation sizes in FileInfoDialog.