Fixed a bug when skoope tried to open files other than .lua