use progress() from HadoopCompat

This fixes issue #393.

Should use HadoopCompat.progress() with a TaskAttemptContext so that it works with both Hadoop 1 & 2.