Ensure pragma checksum is prepended to generated file

Fixes #160
Isn't it the file at that path though?