Only get mtime when content file is properly loaded
pf
Merge branch 'master' of tehlug.org:~/repository
Merge pull request #8 from emilsedgh/master

More fix.