This commit was manufactured by cvs2svn to create branch 'RC_1_31_0'.
Merge fix for missing <*> on stage target options.
suppress warnings, add missing thow_exception call (Lars Gullik Bjønnes)
missing std for remove, rename
./.. detection recoded to cleanly avoid Borland std bug
Added patch for file stat failing for reasons other than the file not existing in exists non-member function.
Added fix for when the filename syntax is invalid.