Production of packaged and bagged flours