Remove unused variable from cc1c7decb4b440e201dbf91a65eafca1fdadb249
[#3614794]Replace fm_path_new_for_str() with more appropriate API.

The fm_path_new_for_str() is dangerous in some cases - it will escape URI
while that is required in very rare cases such as displayable names but
those cases are already covered with fm_path_new_for_display_name().