Use filesep instead of '/'
Replace relative by absolute filenames

Closes #329