replace data URI with file.src