Ensure pragma checksum is prepended to generated file

Fixes #160
`foreach (var byte in hashedBytes)`