flock to fcntl

cambio flock a fcntl