Freezing can work, but you run the risk of introducing mold.
I prefer the tried and true method of using mason jars.