fixing file separator for gradle plugin and uploadArchive pwd