py: the entire `<unistd.h>` shouldn't be needed

Chaning this worked for me with AMRCC and their libc, but I'm not too sure whether `<string.h>` is the lowest common denominator.
Potentially we could put a check around what compiler we are using, but looks like there is nothing specific in `<unistd.h>` that these files currently require.