added method rename()

Signed-off-by: Jan Pecha <janpecha@email.cz>
Git: typo

Signed-off-by: Jan Pecha <janpecha@email.cz>