Allow version key to be a string

Right now if you import a csv with version key into dat, you get `Error: pack(n) must be called with a number`. 

I added some logic here that tries to parse every version as a number. If this fails the version is set to `1`. Not sure if that's the best idea or whether it should also throw an error if the version is not parseable.