avoid using absolute paths in extra files

@dirk-thomas for review