'rename' doesn't seem to work