[bug 748057] Allow image filenames without type extension.