Added workaround for corrupted dos header magic Added some more rtl functions svn path=/trunk/; revision=1292