Moved self.name.encode("utf8") to end of FolderResource.__init__()

Added getContentLength() method for folders.

Fixed bug in _locToFilePath affecting filenames including " - ".