Move debug functionality to debug module
Add wrapper around sys.getfilesystemencoding() to bypass lack of implementation on Android
Bump versions