I am running GNS3 on CentOS and I get the following error when creating a new project. It only happens when I check "Save nvrams and other disk files (recommended)" and/or "Export router configuration files"

Code:
Dynagen management console for Dynamips (adapted for GNS3)
Copyright (c) 2008 GNS3 Project
=> ---------Traceback lines (saved in exception.log)----------
Traceback (most recent call last):
File "/opt/gns3/src/GNS3/ProjectDialog.py", line 111, in accept
globals.GApp.mainWindow.createProject(settings)
File "/opt/gns3/src/GNS3/Workspace.py", line 817, in createProject
self.__action_Save()
File "/opt/gns3/src/GNS3/Workspace.py", line 940, in __action_Save
net.export_net_file(self.projectFile)
File "/opt/gns3/src/GNS3/NETFile.py", line 1010, in export_net_file
config['configs'] = self.convert_to_relpath(globals.GApp.workspace.projectConfigs, path)
File "/opt/gns3/src/GNS3/NETFile.py", line 1086, in convert_to_relpath
relpath = os.path.relpath(real_image_path, commonprefix)
AttributeError: 'module' object has no attribute 'relpath'
-----------------------------------------------------------