fix parseFileChanges

fixes #350
Merge pull request #351 from campersau/master

Fix parseFileChanges