fixing whitespaces and creation of sandbox (tmp build-dir) if not exists