Bug 903057 - Use system_path for files

Also make the display of errors cleaner and more explicit.

[merge]