Making salt.modules.cp python3 compatible

bad list call