ruby: Add wrappers for maildir sync. interface