Properly declare resource header as generated file
Don't fail if resource directory already exists
Fix off-by-one in header line wrapping.
Merge pull request #7 from Ventero/res

Some resource generation fixes.