Allow GIF files

Adds .gif to the list of allowed extensions. Fix #8