modify set_cpu_pin_relationship.py

add flavors, modify output file, etc..