function in Dist::Zilla pre-5.0 as well, which passes us raw bytes (not decoded)