Use cwd as base directory for relative filenames (fixes #30)