Fix file renaming with bad links and screenshots move