Jar deployment to local file instead of HDFS directly

https://issues.cask.co/browse/CDAP-91
Bamboo build is green: https://builds.cask.co/browse/CDAP-DUT119
Shouldn't be copying to the file destination directly. If it failed while copying, it corrupts the file. You should copy to a temp location (created base on the final destination by calling `Location.getTempFile()`) and do a rename operation after the copying is done.