Making salt.utils.timed_subprocess python3 compatible