FIX: Fix reading of tre files in slicer

Fixes issue #298