Fix to allow - character in script names

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