use tmp directory in recipe