ignore empty yaml files

YAML.load returns nil for an empty file.
'next if data.empty?' would raise an exception if reached.