Ensure device serials are properly sanitized for file system use.