Fix for favorities extension: bug upload long file name.