Partition the bytes into three parts using the given separator.
This will search for the separator sep in the bytes. If the
separator is found, returns a 3-tuple containing the part before the
separator, the separator itself, and the part after it.
If the separator is not found, returns a 3-tuple containing the
original bytes object and two empty bytes objects.