Implement create and mkdir.