Issue #9: Use 'finally' blocks when closing streams in t2-webdav