Fixed so the extension check is now case insensitive

Signed-off-by: Dan Printzell <xwildn00bx@gmail.com>