Expand paths to avoid issues with some formats of relative paths, fixes #65.