Check that data file is not empty before populating

When there are no records in data file for a model (just in case you don't need any), it will throw an error

Refers to Issue at wagon repository: http://github.com/locomotivecms/wagon/issues/184