fixes #1: guarantee that generated file/directory name is unique
コントリビュータを追加
fixes #2: allow mode specification for file creation interfaces