FIX: escape error str for file attr

Replacing "'" by "" in error str set as attribute for a subRequest file. Without that request cannot be updated when some nasty error occurs.