Moved creation of '.htaccess' file to the module directory.