use set_cpus() in apps.last/lastz/blastplus; allow write_file to write python
script