Tweak the implementation to read a little more cleanly and remove File.write from the spec - which doesn't work anyway.