Implement truncatef.
Write tests for rename.