Use PTR_SIZE marco instead of hardcode 4 bytes in file.c and path.c