cfv tries to parse any .p## file as a par file. You would get the same error if you did s/a.p12/a.sfv/, though I agree it's a bit more annoying with this case since it's not immediately obvious what a .p12 or other .p## file is. Maybe there is a nicer way to handle this, though I'm not sure what it would be.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Empty file?
cfv tries to parse any .p## file as a par file. You would get the same error if you did s/a.p12/a.sfv/, though I agree it's a bit more annoying with this case since it's not immediately obvious what a .p12 or other .p## file is. Maybe there is a nicer way to handle this, though I'm not sure what it would be.