Fixed a bug that prevented subdirectories under the epn directory to be synced.