Updated byte writing to the device to not have compression codes entered at the beginning and end of the url.