WordPress does not allow saving content in the plugin folder when the plugin is run - as updating and etc might break it. Fixed this so that use .rpg files are stored in wp-content/<plugin> instead of wp-content/plugins/<plugin>