Coercing images to "nifti" rather than expecting them to already be of that class