Removes temp files from repo in core