Only append a fake image extension if it's necessary.
Bump version to 1.0.5.