Merge pull request #1198 from jamesr/fix_write_fake_manifests

Fix syntax error in misc/write_fake_manifests.py