Add file extension to text files.

[skip ci]