Do not leave file handles open

We ware evaluating problems with deployment of LifeRay to WildFly 8 described in 
https://issues.jboss.org/browse/WFLY-2862
Problem was traced to the way LifeRay gets timestamps which leaves files handles open until GC cleans them up.
With this fix applied users are not seeing problems with "too many open files" anymore.