added rename() method

Thanks for this module!