Update layers.py

python2.6 does not have backports.lzma only lzma. If importing the first fails, try importing lzma directly.