debian: fix determination of version number
debian: create .changes files during packaging too