optimise and secure archiveHandler, closing and removing arch files properly