Add prefix '.' to extension stored for CodeFile.

In order to align results with expected results, the extension
value must be prefixed with the period ('.') character.