Make File.open_buffer support Tempfiles