Hash sensor serials to avoid invalid filenames.