With this sort of error:
Error renaming executable: rename /tmp/flogo251123746/TownCrier/bin/TownCrier /local/home/wcn00/go/src/github.com/wcn00/pulsartest/ptest/TownCrier: invalid cross-device link
In this case the /tmp and /local file systems are physically separate so a rename syscall will not work. I think this error should be intercepted and a copy / delete approached used if it fails.