Moving str2bool to utils module.