Fix pylint violations in xmodule static_content.py

@jzoldak: I accidentally increased the number of pylint violations with a previous PR, this fixes that
@nedbat