Don't error out on flock() failure.

This is required to make the package work when reading files from a PHAR
archive as phar does not support file locking yet.