Takes integer bytes and spits back a human readable, truncated size
humansize = lambda x, y=0: '%0.2f%s' % (x, ['b', 'kb', 'mb', 'gb'][y]) if (x/1024) < 1 else humansize((x/1024), y+1)