make thumbnail dir as necessary