add fast open support and del useless temp files.