Test that fetch preserves file contents