Avoid setting dummy values inappropriately for original files.
Merge pull request #892 from mtbc/make-sha1-optional

Avoid setting dummy values inappropriately for original files.