Fix allows - character in script names

https://bugs.openmw.org/issues/677