Make function to convert version to string