You can fix #392 here. Check if the filename ends with .csv and add it if it doesn't.