Making salt.modules.locate python3 compatible