Why is it when I save in Pages, the file extension is .pages-tef ?
When you save a document in Pages you may see that the file extension is .pages-tef rather than the .pages you may be use to.
This is the extension for Pages documents when you save them to iCloud for use on an iOS device, or another Mac.
If you change the folder to Documents you will see the file extension revert back to .pages.
To avoid seeing this you need to stop using iCloud.