add error for missing dateutil library
strip off the end of the file-type string until there is a better fix, #347