gradlew-fdroid: more robust method for handling Windows linefeeds
gradlew-fdroid: more robust method for handling Windows linefeeds

The bash pattern matching was getting confused by the Windows linefeeds,
this strips them before the string hits the bash pattern tricks.

* https://github.com/premnirmal/StockTicker/issues/145

f-droid/fdroid-server,fdroidtravis/fdroidserver,f-droid/fdroidserver,f-droid/fdroidserver,f-droid/fdroid-server,f-droid/fdroidserver,fdroidtravis/fdroidserver,fdroidtravis/fdroidserver,f-droid/fdroidserver,f-droid/fdroid-server,f-droid/fdroid-server,f-droid/fdroid-server,f-droid/fdroidserver,fdroidtravis/fdroidserver