Modify SecureFiles to use try-with-resources
Added reset() to InstallationManager to prevent re-use of temp directory during integration tests