cleverbox : removed ending newlines for compatibility with thumbpy ( http://code.google.com/p/thumbpy/)