Create CSS file with correct permissions
Used parseInt() because octal literals are deprecated
(should fix #15)
Merge pull request #23 from Infocatcher/fix_save_css

Create CSS file with correct permissions