genstats: use full path of executable