sage-dev: support rename directives in patches