ob_dup() did not preserve source position

ob_append_bytes() changes the position, so it must be reset.