Fixing bug with amf0 files writing, added samples in readme