HandBrake assigns sequential numbers starting at 1 for each
file. Therefore when appending two such files there will be two chapter
entries with the UID 1, two with the UID 2 etc. and those should,
strictly speaking, be treated as if they were a single chapter. The
user, however, expects that they're all independent entries.
Implements an improvement for issues such as #1561.