Add platform information to python user-agent