Moving file writing out of blessFile

This allows some testing of the blessFile function without worrying about overwriting the test css file.