[backend] revert last commit and fix bininfo generation

Imports had the wrong filename. Seems the filename element is
only used in the channel code, so nobody noticed...