add -mdatauri and fix bugs that async create files