I was able to fix that by adding the filter to the file pointer.
stream_filter_append($fp, 'convert.iconv.UTF-16/UTF-8//IGNORE', STREAM_FILTER_READ);