Move code common to csv and shapefiles from utils app into its own importable app