Use secure versions of strcpy and fopen when avalible.