Fix for Raspberry Pi (linux) versus Windows decoding BUG