clean temp dir when upload finished