replace '__file__' to 'sys.argv[0]' for py2exe dose not support '__file__'