Makesure "original" and "generated" dirs are created.

When I use hoya in Apache Version, I need to create "original" and "generated" dirs manually. So I make this dirty fix. I think I should add these codes to a more correct position, give me some advice please.