Tempfile plugins causes Shrine::Error file must be opened

Continuance of discussion raised here: Tempfile plugins causes Shrine::Error file must be opened · Issue #537 · shrinerb/shrine · GitHub