Use "const char *" to pass on as filename

This fixes a spurious compile error message which
appears in some compile runs but not in others.