[SPARK-1244] Throw exception if map output status exceeds frame size

In the existing code, this fails silently...