Fixed bug in load & save file extensions

Now works!