Fix type error on file diff
Merge pull request #31 from caffme/bugfix-type-error-on-diff

Fix type error on file diff