Fixed write and append
Merge branch 'master' of https://github.com/Glitch-is/Hlynux
fixed merge conflict