Merge "releasetools: Perform erase commands first." into nyc-dev