Fixed typo in serialwrapper.py