Deprecated function: preg_replace()

fix error Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback in module filefield_paths