More robust restoration of oasis generated files.
Add test about writing on a surface after it is finished.

Displays a Cairo bug.