Fix support for upgrades where a Critic filename contains space

Note that maxsplit=2 means 2 splits, i.e. 3 parts.