You can't just rename the file. MP4 or M4A means the file is inside an MP4 container, you need to use a demuxer
You can do this in MP4UI
http://mp4ui.sourceforge.net/Install the app, run it, open your MP4 or M4A file, select TRACK 1, then click EXPORT and select the folder where you want the AAC to be written to.
You will then have a copy of the AAC file that was inside the MP4 file.