Exclusive create support in container mode

add O_EXCL for create opeartion if necessary
check O_EXCL flag before O_TRUNC

issue #249.
Merge pull request #259 from ZhangZhenhua/o_excl

Exclusive create support in container mode