Changing copy plot directories function to use shutil and not make an external call
lalinference: check before setting approx-prior name