am a72512cd: Add O_CREAT option for open

* commit 'a72512cd058da7de4cdb667776ed47fad873f12c':
  Add O_CREAT option for open