Refactor plugin file paths for cordova directory