outputting requirements to req.txt via fopen vs >