resolves #801 honor custom outfilesuffix and introduce relpathprefix