Fix General::writeFile logic to handle new files again. Closes #1543
Fix General::writeFile logic to handle new files again. Closes #1543

jurajkapsz/symphony-2,DeuxHuitHuit/symphony-2,mazedigital/jcilearn,wastemobile/Symphony2.3.6,mazedigital/jcilearn,thebestsophist/personal-health-diary,mazedigital/jcilearn,jdsimcoe/symphony-boilerplate,symphonycms/symphony-2,ljonka/symphony-2,alexnantel88/symphony-2,roshinebagha/Symphony-Test,jdsimcoe/symphony-boilerplate,DeuxHuitHuit/symphony-2,astudio/remixhair,avanteweb/symphony-2,BloodBrother/symphony-2,michael-e/symphony-2,brendo/symphony-2,johnpuddephatt/symphony-2,NikoMostWanted/symphony-2,brendo/symphony-2,jonmifsud/symphony-2,DavidForster/symphony-2,jonmifsud/symphony-2,twiro/symphony-2,ljonka/symphony-2,astudio/remixhair,avanteweb/symphony-2,symphonycms/sym-getsymphony,thebestsophist/personal-health-diary,roshinebagha/Symphony-Test,symphonycms/symphony-2,ayellowraven/projectplaten,blaXXabla/projet_test_symphony,ayellowraven/projectplaten,BloodBrother/symphony-2,jensscherbl/symphony,jurajkapsz/symphony-2,wastemobile/Symphony2.3.6,jdsimcoe/symphony-boilerplate,NikoMostWanted/symphony-2,bauhouse/sym-todo-list,alexnantel88/symphony-2,symphonycms/sym-getsymphony,bauhouse/sym-todo-list,michael-e/symphony-2,jdsimcoe/symphony-boilerplate,DavidForster/symphony-2,twiro/symphony-2,blaXXabla/projet_test_symphony,jensscherbl/symphony,johnpuddephatt/symphony-2