class FakeFS::Pathname

def rename(to)

See File.rename. Rename the file.
def rename(to)
  File.rename(@path, to)
end