Fix Tempfile#size after it’s closed in 1.8.7