Fixes a bug where curly braces in file-names causes scripting to think its a variable that does not exist