cat-file: only split on whitespace when %(rest) is used