tweak map build script

- automatically correct png filepath in output .lua files!
- I love you sed