How to get a slice of a bytes object in Python?