Fixes #5379: Add a patch to correct empty files beeing created when temp...

...lates are used with nolocks option in CFEngine

Ticket: http://www.rudder-project.org/redmine/issues/5379

To be merged in 2.11