Defensive programation

Grant access to created files only for the script's user