use os.sep instead of '/' for the pathname separator in import_file()

- fix portability issue