Fixed bug #16
https://github.com/kif/pyFAI/issues/16