Sort files by size in a directory in Python