Implement sys_creat system call