resolve resource file paths relative to working directory (#516)