Bugfix create modification

Calling `str` on the value of a modification breaks some updates (e.g. when the value is a byte array). This patch removes the `str` call from single-valued attribute modification, making it consistent with the multi-valued case.