GLocalFile: support trashing long file name
When the file name is too long (for example, more than 238 bytes on ext4), this will cause the creation of the .trashinfo file to fail. Let's shorten the .trashinfo filename in this case, after all the trash specification only requires unique filenames.