Reduce slug size by cleaning up intermediate files