Utility class for Laravel 4.1+ to convert an array to CSV.