Add 'base' option
- Added options.base to manually shift the directory used for resolving the file path in the generated URL