Added IOError raising if linux user is not in 'video' or 'sudo' group.

Solves #316