[appmessenger] fix playfile regression introduced by f86b9d2

Not sure if it's a valid fix, so @jmarshallnz for review please.