Commits on May 16, 2016

  1. Handle compressed empty files correctly

    This reverts some of 63584a0 and fixes #1
    neilmayhew committed May 16, 2016