Merge "Fix ENAMETOOLONG issue when set trash or pending to file"