fix relativepath patch in calendar to also support subdirectories