Fixed "invalid File" message when the "Import Rig" dialogue is canceled.