Made rename return a boolean rather than throw exceptions