# File lib/facets/core/file/self/create.rb, line 11
def File.create(path, str='', &blk)
  File.open(path, 'w') { |f|
    f << str
    blk.call(f) if blk
  }
end