lowercasing extesion so file name, closes #231