Rewriting require to allow for relative paths within a module