fix(preprocessor): calculate sha1 on content returned from a preprocessor

Fixes #1204
Merge branch 'pr-1210' into presubmit-master-pr-1210
chore: release v0.12.25