Dear me, site.url can possibly be nil! Realized that fact? Good. ;-)
Consider that looking for three letter filename extensions is not super smart in the case of opus. =^.^=