Escape URLs before saving them. Only convert images to dataURIs.