BUG: refine CanReadFile in MGHImageIO

existing logic couldn't handle filenames with a dot
before the filename extension.