Merge pull request #104 from dfries/master

Data integrity fix, only expose final file