fixed bug #15, updated dumping, sorted things out, file open fix
- file was opened in text mode
- bug #15: foreach{continue;foreach} produces invalid bytecode