Fix image preview in file browser

This commit fixes image preview in file browser when file name contains "&", "+" and other url signs.