Fixed backward compatibility with Python 2.7
Fixed broken download(), and fixed behavior of ls() and cd()
fix #19: ls command does not work