Fix some bugs caused by #172.

There were some files that weren't being set as absolute paths. Also debug_config_file was receiving an empty string for a path (with no -o) which caused it to try to open the current working directory.

@btovar please review this.