Fix file ending in print cleanup