Merge "Make dumpstate bugreport names as tmp if called by API"