Quoting Kaj Ailomaa zequence@mousike.me:
I solve it by using a postinst script to rename the two files that shouldn't.
this is most likely the wrong approach.
"postinst" is running on the target system, so instead of renaming the file *once* during the build process, you will rename it thousands of times (on each installation). this also means that you double your chance of creating package collision and circumvent any security measures of the package manager (e.g. apt keeps track of the installed files - but it defers that information from the list of files in the .deb rather than checking which files have been installed after running postinst)
mzdxsf IOhannes