When I want to export as .m4a I have always done it this way:

Audio / Render song to audio file, and set the format as .m4a which I then save to my desktop.