Replacing to.Int() with int(to.Int64()), followimg the API change in the release version of gosexy/to.