Fix problem with filecontents package
Fix bug with undefined value in old files conservation