cleaning pyc and append plugin dir to sys.path