Fixed opening rpg files from another directory