Making salt.modules.cp python3 compatible