fix create folder before write info file

This problem has been fix https://github.com/coreos/etcd/commit/516f249403ee8abef55365975b291e9f16133d58
Previous merge and https://github.com/coreos/etcd/pull/329 break it.