store default stylesheet in a string so it can be loaded via require

- also add a mkdir_p method to avoid using fileutils