Can't open erroneous M4A file for writing

There are several topics already open about this, see this one for some good pointers on potential ways to fix it.