catch rename error in rake file