mono/mono — pull request #774 by DavidS (2013-10-09 08:36:42+00:00)
Title: Minor fix to avoid ArgumentOutOfRangeException

When the file is empty, data[0] would throw and swallow the original exception.