Fixed partial template specialization issues with IOHandle