apply https://github.com/jbosstools/jbosstools-download.jboss.org/pull/234 but fix datestamps too >> master