Fix downloads in build script

* only skip downloading a file if the local timestamp matches the
remote timestamp
* fix downloading messages

Change-Id: I1dad650beb36c5ef40c12f03a35a51d7c778a647