refactor of change method so that pattern and replacement are easier to compare
refactor of change method so that pattern and replacement are easier to compare

reggieb/fedora_2_to_3_pid_renamer,bodleian/fedora_2_to_3_pid_renamer