Tweaked raspicamera.py further to demo type assertions.