Match wEIrdLy CasED extensions

Small bug, but people who were uploading .PNG (as opposed to .png) files
were getting errors because we were checking for ".png"