Update unit tests for extension manager keepFile flag

See #8166
Changes responsibility of deleting files to callers of `installUpdate`.