Pyflakes cleanup of test_write_recipe.py