Begin pydicom's own py2/3 compat module.  Invert boolean in_py3 to in_py2 comparisons.