fix bug in install trying to write last_updated, remove shims one-by-one when uninstalling apps so they aren't left around to cause strange errors when another app dir can't be deleted later down the line