Add a parse_bytes function to load descriptors from bytes

This is a convenience function that wraps the bytes in a BytesIO and calls parse_file().