module.php: Fix mimetype when filename contains ".".
module.php: Fix mimetype when filename contains ".".

Thanks to Sixto Martin for providing this patch.

git-svn-id: a243b28a2a52d65555a829a95c8c333076d39ae1@2623 44740490-163a-0410-bde0-09ae8108e29a

grnet/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,dnmvisser/simplesamlphp,grnet/simplesamlphp,ghalse/simplesamlphp,sitya/simplesamlphp,dialogik/simplesamlphp,madmatt/simplesamlphp,girgen/simplesamlphp,cwaldbieser/simplesamlphp,simplesamlphp/simplesamlphp,gtkrug/simplesamlphp,jschlyter/simplesamlphp,sylvainmed/simplesamlphp,gtkrug/simplesamlphp,grnet/simplesamlphp,Kunstmaan/simplesamlphp,dzuelke/simplesamlphp,jschlyter/simplesamlphp,shoaibali/simplesamlphp,sylvainmed/simplesamlphp,jschlyter/simplesamlphp,dialogik/simplesamlphp,dzuelke/simplesamlphp,cwaldbieser/simplesamlphp,girgen/simplesamlphp,sylvainmed/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,simplesamlphp/simplesamlphp,BrettMerrick/simplesamlphp,dnmvisser/simplesamlphp,gtkrug/simplesamlphp,sylvainmed/simplesamlphp,simplesamlphp/simplesamlphp,ghalse/simplesamlphp,BrettMerrick/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,BrettMerrick/simplesamlphp,maytechnet/simplesamlphp,sitya/simplesamlphp,sitya/simplesamlphp,madmatt/simplesamlphp,cwaldbieser/simplesamlphp,shoaibali/simplesamlphp,ghalse/simplesamlphp,maytechnet/simplesamlphp,simplesamlphp/simplesamlphp,Kunstmaan/simplesamlphp,dialogik/simplesamlphp,gtkrug/simplesamlphp,dzuelke/simplesamlphp,dialogik/simplesamlphp,madmatt/simplesamlphp,Kunstmaan/simplesamlphp,dnmvisser/simplesamlphp,ghalse/simplesamlphp,BrettMerrick/simplesamlphp,dzuelke/simplesamlphp,girgen/simplesamlphp,jschlyter/simplesamlphp,maytechnet/simplesamlphp,girgen/simplesamlphp,dialogik/simplesamlphp,grnet/simplesamlphp,girgen/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,Kunstmaan/simplesamlphp,sitya/simplesamlphp,jschlyter/simplesamlphp,shoaibali/simplesamlphp,maytechnet/simplesamlphp,cwaldbieser/simplesamlphp,dnmvisser/simplesamlphp,shoaibali/simplesamlphp,madmatt/simplesamlphp