Fcntl class for mruby