This file will be needed by downstreams. The path is, obviously, dependent on where the downstram puts it. One way of editing the file is to execute desktop-file-edit --set-key Exec --set-value /usr/bin/foo.