Extract archive to hash dir and remvoe it if outdated

Change-Id: I9b121f13971ea9ae91d65e322e25e4f6180dcf0d