Locking files in Perl/CGI