Path.join merges second path regardless if it is an absolute or relative path

Closes #790