fixed: open() calls with O_CREATE requires creation mode parameter
Merge pull request #644 from akva2/fix_creation_mode

fixed: open() calls with O_CREATE requires creation mode parameter