Download share images with file extension. Closes #638.