Resolve relative paths

I came up against this when trying to modularise pliers tasks. `createStaticMap` was happing in a directory beneath public so it had to do some paths like `../public/`. This munged the paths in the output static maps because they weren't resolved first.