fix #1298 -- fix plugin/theme install under py2.6

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>