Also, ```new_filepath``` doesn't raise an error for me if the output filepath already exists. Not sure about ```new_dirpath```. Can you reproduce on your end?