fix issue #1 (using setFixedLengthStreamingMode(long) from API level 19)