Fix Windows version string determination

For some reason, the COUCHD_VERSION string on Windows is getting
suffixed whitespace. We fix this by string:strip(Version0, right) on the
variable before use.
diff --git a/rebar.config.script b/rebar.config.script
index 7d803b9..8e4ea13 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -36,7 +36,7 @@
     false ->
         string:strip(os:cmd("git describe --always"), right, $\n);
     Version0 ->
-        Version0
+        string:strip(Version0, right)
 end,
 
 CouchConfig = case filelib:is_file(os:getenv("COUCHDB_CONFIG")) of
diff --git a/src/couch.app.src.script b/src/couch.app.src.script
index 40d922e..60a9345 100644
--- a/src/couch.app.src.script
+++ b/src/couch.app.src.script
@@ -15,7 +15,7 @@
     false ->
         string:strip(os:cmd("git describe --always"), right, $\n);
     Version0 ->
-        Version0
+        string:strip(Version0, right)
 end,