How do I add a file upload field to user registration page?
In D7 all entities are field-able, and user profile fields can be manipulated in admin/config/people/accounts/fields 

and in D6 you can use content profile module