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
Better do `Closeables.closeQuietly(fos);` if you don't want to deal with IOException thrown during close, since you are already handling a previously occurred exception.