If you changed files, then I would recommend that you create your own git repository and manage your changes there. The typical upgrade process will erase any changes that you made to core source files because you over write them with the new files.Either way I would urge you to upgrade to 1.9.