manging generated prototype files

- need to change owner and group to 'root'
- need to strip leading '/' off paths