Try specifying the full path for foo.m4a and enclose in quotes.