If datadir is foo and the datafile is bar then we should install it to $datadir/bar, not $datadir/foo/bar.