allow path to be an StringIO object and skip extension check for that case

this is to allow in-memory creation of excel-files from pandas