Prepares data dir for Postgres