Freezes a Flask application into a set of static files.