sbt/sbt-s3 — pull request #12 by dk8996 (2014-07-01 14:26:53+00:00)
Title: Fixing the progress overflow.

We ran in to a issue where the progress bar char buffer overflowed and we think its bcs one of the parts of the upload failed and retry happened but the failed part was added to `uploadedBytes` count. I think this should fix this issue. Here is the exception we are seeing:

`WARNING: Unable to cleanly close input stream: String index out of range: 51
java.lang.StringIndexOutOfBoundsException: String index out of range: 51
at java.lang.String.substring(String.java:1907)
at com.typesafe.sbt.S3Plugin$.com$typesafe$sbt$S3Plugin$$progressBar(S3Plugin.scala:174)
at com.typesafe.sbt.S3Plugin$$anon$1.progressChanged(S3Plugin.scala:200)
at com.amazonaws.services.s3.internal.ProgressReportingInputStream.close(ProgressReportingInputStream.java:102`