Added rename function

Wanted to move a file, but didn't want to use os.