Erroneous ArgumentNullExecption for Compressor is given an empty string