You cannot write to mapped devices with utl_file package.
This is local to where the DB is installed.
Secondly, have you set up utl_file_dir in your init.ora ?