aws/aws-cli — pull request #383 by qrtt1 (2013-09-27 20:35:41+00:00)
Title: fix the UnicodeDecodeError when sort the local files

I figured out the [s3 sync break by character decoding failed](https://github.com/aws/aws-cli/issues/378) is caused by sorted function. It will happen when

```
sorted(os.list(u"some unicode path name"))
```

in the sorted function, it will call `element.decode(...) ` and go into trouble when special character in the filename.

My case looks like this:
```
(PYENV)[root@jp1 awscli]# aws s3 sync /usr/local/apache/htdocs/IGDmanual/zh_TW s3://muzee.ixd.foo/data_002 --cache-control 3600
Bad filename: krazykar##.html, Skip to upload
```

I have no idea how to decode it correctly, but to skip the bad filename looks good to me.