Handle pointless quotes in script names better

If someone, for some stupid reason, puts quotes in a script name, handle
those automatically for the filename-related tags