Fix timing logic and add new image

I incorrectly assumed that file writing would be procedural;  fix that
with a proper callback function. Also, add a 20MP image and reduce shape
count to something more representative of real use.