Sets the icon file associated with the given category.
This function is thread safe.
category to set the icon file for.
icon file.