Making salt.utils.filebuffer python3 compatible