Fixed init and share (see syncany/syncany#192)