replace relative import statements with absolute ones