Updated for Ciao 4.6

Specextract in Ciao 4.6 always outputs .arf and .rmf files regardless of whether they are weighted, so the script is edited to check for .rmf and .arf