cast ruby version to string when creating a path to a lock file

It fixes https://github.com/grosser/wwtd/issues/10

```shell
irb(main):006:0> yaml = YAML.load("rvm: 2.0")
=> {"rvm"=>2.0}
irb(main):008:0> yaml["rvm"].class
=> Float
```