When writing single-file packages, update Version header

Closes #588