reencryption: Properly escape input to sed