Update trans_real.py

Check return value for None. When IOError happens in _translation() [line 128], django breaks with error:
AttributeError: 'NoneType' object has no attribute '_info'