Attempt to log npm commands output into files