API: rename not working for pages with files