Rails' Tempfile is a file that doesn't descend from File