Add utility methods to create a directory or throw an IOException (if the creation failed)