Unify the use of / at the beginning of pdf and png