Fixes #1452: Add utils method, use API IOUtils