Move read-write utilities from examples/movies to store.util.