Sets the attribute to contain the given attr_value, if possible.
a file attribute key.
a string.
See Implementation
Sets the attribute to contain the given attr_value, if possible.