Remove unused write_recipe from recipe.py